<?php


namespace app\model;


use think\Model;

class Comment extends Model
{
    public function profile(){
        return $this->hasOne(User::class,'userId','uId');
    }
}